package com.heisenhub.uua.utils;

import org.reflections.Reflections;

public class ReflectionsUtils {
    public static Reflections reflections = getReflections();

    public final static String  LOGIN_PAACKAGE_URL ="com.heisenhub.uua.service.login";

    /**
     * 默认是找  login的包
     * @return
     */
    private  static Reflections getReflections(){
        return   reflections = new Reflections(LOGIN_PAACKAGE_URL);
    }


    /**
     * url  是包的路径
     * @param url
     * @return
     */
    public  static Reflections getReflections(String url){
        return   reflections = new Reflections(url);

    }
}
